env.setErrorMessageBoxEnabled(true)
SIDE = {
  BLUE = coalition.side.BLUE,
  RED = coalition.side.RED,
  NEUTRAL = coalition.side.NEUTRAL
}

SIDE_ENEMY = {
  [SIDE.BLUE] = SIDE.RED,
  [SIDE.RED] = SIDE.BLUE,
}

-- SOUNDS
SOUND_EXTRACTION_CALL = USERSOUND:New("直升机呼叫division.ogg")
SOUND_AFAC_CALL = USERSOUND:New("15秒division.ogg")
SOUND_HOSTILE_01 = USERSOUND:New("attention_敌军接近.ogg")
SOUND_HOSTILE_02 = USERSOUND:New("发现敌人division.ogg")
SOUND_BASECAPTURED = USERSOUND:New("AccessingDefendControlSystem.ogg")
SOUND_BASEATTACKING = USERSOUND:New("JTF Transmission.ogg")
SOUND_ISAC_ONLINE = USERSOUND:New("ISAC系统上线.ogg")
SOUND_PLAYER_DOWN = USERSOUND:New("特工倒下division.ogg")
SOUND_TAKEOFF = USERSOUND:New("加入小队1.ogg")
SOUND_LAND = USERSOUND:New("退出小队3.ogg")
SOUND_CARGOEXTRACTED = USERSOUND:New("结束运输division.ogg")

clients_Khaimah = SET_CLIENT:New():FilterCoalitions("blue"):FilterPrefixes("GRIFFIN 哈伊马角"):FilterStart()
clients_Dubai = SET_CLIENT:New():FilterCoalitions("blue"):FilterPrefixes("GRIFFIN 迪拜"):FilterStart()

clients_Khaimah:ForEachClient(function(client)
  local tempName = tostring(client.ClientName)
  USERFLAG:New(tempName):Set(100)
end
)

clients_Dubai:ForEachClient(function(client)
  local tempName = tostring(client.ClientName)
  USERFLAG:New(tempName):Set(100)
end
)

-- simple slot block
USERFLAG:New("SSB"):Set(100)

_SETTINGS:SetPlayerMenuOff()
env.setErrorMessageBoxEnabled(false)